Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects / View-Related Objects Reference
View Port Functions / Manipulating View Port Object Properties


GXGetViewPortViewGroup

You can use the GXGetViewPortViewGroup function to determine the view group that a view port is part of.

gxViewGroup GXGetViewPortViewGroup(gxViewPort source);
source
A reference to the view port whose view group you wish to examine.
function result
A reference to the view group that the source view port is part of.
DESCRIPTION
The GXGetViewPortViewGroup returns a reference to the source view port's view group. If it is the onscreen view group, the returned value is gxScreenViewDevices.

ERRORS, WARNINGS, AND NOTICES
Errors 
invalid_viewPort_reference 
SEE ALSO
To set a view port's view group, use the GXSetViewPortViewGroup function, described next.

The gxScreenViewDevices view group reference is described in the section "View Group Types" on page 7-69.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996